home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Mark Pilgrim / Fade Me 1.1 / source / sdf code ƒ / globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-30  |  1.4 KB  |  48 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        globals.h
  4.  
  5. Purpose:    This header file is used by show init.c.
  6.             It gives the structure of a mirror of QuickDraw globals.
  7.  
  8. Note:        This file was not written by the author of Shutdown Fade
  9.             and is not subject to the terms of the GNU General Public
  10.             License.
  11.             
  12.  
  13. Shutdown Fade -=- fade the screen to black on shutdown
  14. Copyright (C) 1993 Mark Pilgrim
  15.  
  16. This program is free software; you can redistribute it and/or modify
  17. it under the terms of the GNU General Public License as published by
  18. the Free Software Foundation; either version 2 of the License, or
  19. (at your option) any later version.
  20.  
  21. This program is distributed in the hope that it will be useful,
  22. but WITHOUT ANY WARRANTY; without even the implied warranty of
  23. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  24. GNU General Public License for more details.
  25.  
  26. You should have received a copy of the GNU General Public License
  27. along with this program in a file named "GNU General Public License".
  28. If not, write to the Free Software Foundation, 675 Mass Ave,
  29. Cambridge, MA 02139, USA.
  30.  
  31. \**********************************************************************/
  32.  
  33. struct QDGlobals {
  34.     char privates[76];
  35.     long randSeed;
  36.     BitMap screenBits;
  37.     Cursor arrow;
  38.     Pattern dkGray;
  39.     Pattern ltGray;
  40.     Pattern gray;
  41.     Pattern black;
  42.     Pattern white;
  43.     GrafPtr thePort;
  44.     long    end;
  45. };
  46.  
  47. typedef struct QDGlobals QDGlobals;
  48.